/**
 * Created by IntelliJ IDEA
 *
 * @author zhengjie
 * @Date:2022/1/7 16:50
 * @Version 1.0
 */
package com.zj.ssm.pojo.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.zj.ssm.conver.*;
import lombok.Data;
import java.io.Serializable;

@Data
public class Staff implements Serializable {
    @ExcelProperty( value="员工编号"   , index = 0)
    private Integer id;
    @ExcelProperty( value="员工姓名"   , index = 1)
    private String  name;
    @ExcelProperty( value="员工地址"   , index = 2)
    private String  address;
    @ExcelProperty( value="员工年龄"   , index = 3)
    private Integer age;
    @ExcelProperty( value="员工学历"   , index = 4)
    private String  education;
    @ExcelProperty( value="员工手机号"   , index = 5)
    private String  telephone;
    @ExcelProperty( value="员工头像"   , index = 9)
    private String  headImgURL;

    @ExcelProperty(value = "职位名称 ",index = 6 ,converter = RoleConverter.class)
    private Role  role;
    @ExcelProperty(value = "部门名称",index = 7 ,converter = BranchConverter.class)
    private Branch branch;
    @ExcelProperty(value = "科室名称",index = 8 ,converter = DepartmentConverter.class)
    private Department department;
    @ExcelProperty(value = "管理名称",index = 10 ,converter = AdminstateConverter.class)
    private AdminState adminState;
    @ExcelProperty(value = "登录名称",index = 11 ,converter = LogConverter.class)
    private Login  login;

}
